﻿@{
    ViewBag.Title = "Various email tasks";

}


<div class="centercontent">
    @using (Html.BeginForm("EmailTasks", "Home"))
    {
        @Html.AntiForgeryToken()
        <div><p>Hangfire Status: @ViewBag.HangfireStatus</p> <br />
            <button type="submit" name="commandctrl" value="HangfireAccountExpiration">Start/Restart Hangfire - Email Users with passsword expiration less than 30 days</button>
        </div>
        <div>
            <button type="submit" name="commandctrl" value="PortraitNotify">Send Notification of Portrait Orders</button>
        </div>
    <div>
        <textarea id="msg" name="bodytext"></textarea>
        <button type="submit" name="commandctrl" value="SeniorParents2">Send Senior Announcement</button>
    </div>
        <div>
            <button type="submit" name="commandctrl" value="TestuserButton">TestBstocksdale</button>
        </div>
    <div>
        <button type="submit" name="commandctrl" value="StaffSurvey">TestStaffEmail</button>
    </div>
        @Html.Raw(ViewBag.ResultMessage)
    }

</div>
